import request from '@/utils/request'

const API = '/user/hosp/schedule'

export default {
    getSchedulePage(hoscode, depcode, pageNum, pageSize) {//数据字典列表
        return request({
            url: `${API}/${hoscode}/${depcode}/${pageNum}/${pageSize}`,
            method: 'GET'
        })
    },
    getScheduleDetail(hoscode, depcode, workdate) {//数据字典列表
        return request({
            url: `${API}/${hoscode}/${depcode}/${workdate}`,
            method: 'GET'
        })
    },
    getSchedule(scheduleId) {//数据字典列表
        return request({
            url: `${API}/info/${scheduleId}`,
            method: 'GET'
        })
    },
}